[INFO] cloning repository https://github.com/after-finitude/rust-test-rocket-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/after-finitude/rust-test-rocket-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafter-finitude%2Frust-test-rocket-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafter-finitude%2Frust-test-rocket-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bbc337ca84741e1146a8e233cde26010c5b55b47
[INFO] building after-finitude/rust-test-rocket-server against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafter-finitude%2Frust-test-rocket-server" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/after-finitude/rust-test-rocket-server on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/after-finitude/rust-test-rocket-server
[INFO] finished tweaking git repo https://github.com/after-finitude/rust-test-rocket-server
[INFO] tweaked toml for git repo https://github.com/after-finitude/rust-test-rocket-server written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/after-finitude/rust-test-rocket-server already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 74898e736ff141fb1e9ccc673253f0f2486e8e4721256b3eeb10c96fb0abe751
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "74898e736ff141fb1e9ccc673253f0f2486e8e4721256b3eeb10c96fb0abe751", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "74898e736ff141fb1e9ccc673253f0f2486e8e4721256b3eeb10c96fb0abe751", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74898e736ff141fb1e9ccc673253f0f2486e8e4721256b3eeb10c96fb0abe751", kill_on_drop: false }`
[INFO] [stdout] 74898e736ff141fb1e9ccc673253f0f2486e8e4721256b3eeb10c96fb0abe751
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0bdf75a54afdec009751a2361f00d00a0b9ac279ae56d139e0fbab607315aaa4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0bdf75a54afdec009751a2361f00d00a0b9ac279ae56d139e0fbab607315aaa4", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.73
[INFO] [stderr]    Compiling syn v1.0.35
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.115
[INFO] [stderr]    Compiling serde v1.0.115
[INFO] [stderr]    Compiling tinyvec v0.3.3
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling smallvec v1.4.1
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling instant v0.1.6
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling state v0.4.1
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]    Compiling cc v1.0.58
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling lazycell v1.2.1
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling if_chain v1.0.0
[INFO] [stderr]    Compiling deunicode v0.4.3
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling hashbrown v0.8.1
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling indexmap v1.5.0
[INFO] [stderr]    Compiling rocket_codegen v0.4.5
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling rocket v0.4.5
[INFO] [stderr]    Compiling rocket_contrib_codegen v0.4.5
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.13
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling slug v0.1.4
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling net2 v0.2.34
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling inotify-sys v0.1.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling filetime v0.2.10
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling inotify v0.7.1
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling ring v0.16.15
[INFO] [stderr]    Compiling cookie v0.11.3
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.5
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling r2d2 v0.8.9
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling notify v4.0.15
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling pem v0.8.1
[INFO] [stderr]    Compiling devise_core v0.2.0
[INFO] [stderr]    Compiling pear_codegen v0.1.4
[INFO] [stderr]    Compiling devise_codegen v0.2.0
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling devise v0.2.0
[INFO] [stderr]    Compiling pear v0.1.4
[INFO] [stderr]    Compiling rocket_http v0.4.5
[INFO] [stderr]    Compiling chrono v0.4.15
[INFO] [stderr]    Compiling toml v0.4.10
[INFO] [stderr]    Compiling validator v0.10.1
[INFO] [stderr]    Compiling diesel v1.4.5
[INFO] [stderr]    Compiling simple_asn1 v0.4.1
[INFO] [stderr]    Compiling jsonwebtoken v7.2.0
[INFO] [stderr]    Compiling validator_derive v0.10.1
[INFO] [stderr]    Compiling rocket_cors v0.5.2
[INFO] [stderr]    Compiling rocket_contrib v0.4.5
[INFO] [stderr]    Compiling rust-test-rocket-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `crate::auth`
[INFO] [stdout]  --> src/routes/users.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::auth::Auth;
[INFO] [stdout]   |            ^^^^ could not find `auth` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::config`
[INFO] [stdout]  --> src/routes/users.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::config::AppState;
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            unresolved import
[INFO] [stdout]   |            help: a similar path exists: `rocket::config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `db` in the crate root
[INFO] [stdout]  --> src/routes/users.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::db::{self, users::UserCreationError};
[INFO] [stdout]   |            ^^ could not find `db` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::db`
[INFO] [stdout]  --> src/routes/users.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::db::{self, users::UserCreationError};
[INFO] [stdout]   |                 ^^^^ no `db` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::errors`
[INFO] [stdout]  --> src/routes/users.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::errors::{Errors, FieldValidator};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            unresolved import
[INFO] [stdout]   |            help: a similar path exists: `jsonwebtoken::errors`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Validate` in this scope
[INFO] [stdout]   --> src/routes/users.rs:16:23
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Deserialize, Validate)]
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `validate` in this scope
[INFO] [stdout]   --> src/routes/users.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 |     #[validate(length(min = 1))]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `validate` in this scope
[INFO] [stdout]   --> src/routes/users.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 |     #[validate(email)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `validate` in this scope
[INFO] [stdout]   --> src/routes/users.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 |     #[validate(length(min = 8))]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `json` in this scope
[INFO] [stdout]   --> src/routes/users.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 42 |         .map(|user| json!({ "user": user.to_user_auth(&state.secret) }))
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            rocket_contrib::json
[INFO] [stdout]            serde_json::json
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `json` in this scope
[INFO] [stdout]   --> src/routes/users.rs:77:21
[INFO] [stdout]    |
[INFO] [stdout] 77 |         .map(|user| json!({ "user": user.to_user_auth(&state.secret) }))
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            rocket_contrib::json
[INFO] [stdout]            serde_json::json
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `json` in this scope
[INFO] [stdout]   --> src/routes/users.rs:83:48
[INFO] [stdout]    |
[INFO] [stdout] 83 |     db::users::find(&conn, auth.id).map(|user| json!({ "user": user.to_user_auth(&state.secret) }))
[INFO] [stdout]    |                                                ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            rocket_contrib::json
[INFO] [stdout]            serde_json::json
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `json` in this scope
[INFO] [stdout]   --> src/routes/users.rs:99:21
[INFO] [stdout]    |
[INFO] [stdout] 99 |         .map(|user| json!({ "user": user.to_user_auth(&state.secret) }))
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            rocket_contrib::json
[INFO] [stdout]            serde_json::json
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UserCreationError`
[INFO] [stdout]   --> src/routes/users.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 UserCreationError::DuplicatedEmail => "email",
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^ use of undeclared type `UserCreationError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UserCreationError`
[INFO] [stdout]   --> src/routes/users.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 UserCreationError::DuplicatedUsername => "username",
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^ use of undeclared type `UserCreationError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `validator::Validate`
[INFO] [stdout]  --> src/routes/users.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use validator::Validate;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-test-rocket-server`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "0bdf75a54afdec009751a2361f00d00a0b9ac279ae56d139e0fbab607315aaa4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0bdf75a54afdec009751a2361f00d00a0b9ac279ae56d139e0fbab607315aaa4", kill_on_drop: false }`
[INFO] [stdout] 0bdf75a54afdec009751a2361f00d00a0b9ac279ae56d139e0fbab607315aaa4
